/**
 * Created by WYJ on 2017/5/29.
 */
function toWhich(theClass) {
    var show=$('.'+theClass);
    show.prevAll().hide();
    show.nextAll().hide();
    show.show();
}
function deleteRow(tableName, PK,PKValue) {
    console.log(tableName+PK+PKValue);
    $.ajax({
        type : "GET",
        contentType : "application/json",
        url : "servlet/DeleteServlet",
        data:{
            "table":tableName,
            "PK":PK,
            "PKValue":PKValue
        },
        dataType : 'json'
    });
}

